# 分组展示字段，分三块，基础信息、第一轮面试、第二轮面试（专业复试)、HR复试
fieldsets = (
    (None, {'fields': ("userid", ("username", "city", "phone"),
                       ("email", "apply_position", "born_address", "gender", "candidate_remark"),
                       ("bachelor_school", "master_school", "doctor_school"), ("major", "degree"),
                       ("test_score_of_general_ability", "paper_score"),)}),
    ('第一轮面试', {'fields': (
        ("first_score", "first_learning_ability", "first_professional_competency"), "first_advantage",
        "first_disadvantage", "first_result", "first_recommend_position", "first_interviewer_user",
        "first_remark",)}),
    ('第二轮面试（专业复试）', {'fields': (("second_score", "second_learning_ability", "second_professional_competency"), (
        "second_pursue_of_excellence", "second_communication_ability", "second_pressure_score"), "second_advantage",
                                "second_disadvantage", "second_result", "second_recommend_position",
                                "second_interviewer_user", "second_remark",)}),
    ('HR复试', {'fields': ("hr_score", ("hr_responsibility", "hr_communication_ability", "hr_logic_ability"),
                         ("hr_potential", "hr_stability"), "hr_advantage", "hr_disadvantage", "hr_result",
                         "hr_interviewer_user", "hr_remark",)}),
)

fieldsets_first = (
    (None, {'fields': ("userid", ("username", "city", "phone"),
                       ("email", "apply_position", "born_address", "gender",
                        "candidate_remark"),
                       ("bachelor_school", "master_school", "doctor_school"),
                       ("major", "degree"),
                       ("test_score_of_general_ability", "paper_score"),)}),
    ('第一轮面试', {'fields': (
        ("first_score", "first_learning_ability", "first_professional_competency"),
        "first_advantage",
        "first_disadvantage", "first_result", "first_recommend_position",
        "first_interviewer_user",
        "first_remark",)})
)
fieldsets_second = (
    (None, {'fields': ("userid", ("username", "city", "phone"),
                       ("email", "apply_position", "born_address", "gender", "candidate_remark"),
                       ("bachelor_school", "master_school", "doctor_school"), ("major", "degree"),
                       ("test_score_of_general_ability", "paper_score"),)}),
    ('第一轮面试', {'fields': (
        ("first_score", "first_learning_ability", "first_professional_competency"), "first_advantage",
        "first_disadvantage", "first_result", "first_recommend_position", "first_interviewer_user",
        "first_remark",)}),
    ('第二轮面试（专业复试）', {'fields': (("second_score", "second_learning_ability", "second_professional_competency"), (
        "second_pursue_of_excellence", "second_communication_ability", "second_pressure_score"), "second_advantage",
                                "second_disadvantage", "second_result", "second_recommend_position",
                                "second_interviewer_user", "second_remark",)}),
)
